package com.googlecode.webduff.store;

import com.googlecode.webduff.Configurable;
import com.googlecode.webduff.authentication.provider.Credential;


/**
 * Interface for a Factory to create WebdavStores
 *  
 * @author Anton Dignoes, Daniel Rampanelli, Martin Palma
 *
 */
public interface WebdavStoreFactory extends Configurable {
	
	/**
	 * Method to create a WebdavStore for the specified <code>credential</code>
	 * @param credential
	 * 			Credential for which to create the WebdavStore
	 * @return
	 * 			WebdavStore created and configured by the Factory
	 */
	public WebdavStore create(Credential credential);

}